package com.study.client;

import com.study.common.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author wfw
 * @Date 2020/07/31 14:29
 */
@FeignClient("hrm-system")
public interface SystemFeignClient {
    @GetMapping("sys/user/{id}")
    Result findById(@PathVariable(value = "id") String id);
}
